package com.youdianda.service;

import com.youdianda.dto.SysconfigDTO;
import com.youdianda.entity.SysConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.result.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdy
 * @since 2023-05-15
 */
public interface ISysConfigService extends IService<SysConfig> {

    /**
     * 所有配置查询
     * @return
     */
    public Result all();

    /**
     * 修改系统配置
     * @return
     */
    public Result updatenew(List<SysconfigDTO> dtoList);
}
